package taller2.view.menus.MainEdittingMenus;

import taller2.controller.MainEdittingMenu.AreaMenuListener;
import taller2.controller.MainEdittingMenu.TopologicAreaMenuListener;
import taller2.controller.listeners.evaluateMeButtons.EvaluateMeButtonListener;
import taller2.interfaces.AlgorithmApplicator;
import taller2.interfaces.Graph;
import taller2.view.draws.DrawingArea;
import taller2.view.windows.MainWindows.MainWindow;

public class TopologicMainEdittingMenu extends MainEdittingMenu {
	private static final long serialVersionUID = 112L;

	public TopologicMainEdittingMenu(MainWindow window, DrawingArea area, Graph graph, 
			AlgorithmApplicator algorithmApplicator, EvaluateMeButtonListener evaluateMeListener) {
		super( window, area, graph, algorithmApplicator,evaluateMeListener);
	}
	
	@Override
	protected AreaMenuListener createAreaMenuListener(DrawingArea area,Graph graph, MainEdittingMenu edMenu,AlgorithmApplicator algorithmApplicator){
		return (new TopologicAreaMenuListener(window, area,graph,this,algorithmApplicator));
	}

}
